Skip to content

bugfix(libcurl): Initialize libcurl before plugins to prevent EAC access violation#484

Merged
x64-dev merged 1 commit intomainfrom
seer/fix/libcurl-eac-init-order
May 7, 2026
Merged

bugfix(libcurl): Initialize libcurl before plugins to prevent EAC access violation#484
x64-dev merged 1 commit intomainfrom
seer/fix/libcurl-eac-init-order

Conversation

@seer-by-sentry
Copy link
Copy Markdown

@seer-by-sentry seer-by-sentry Bot commented May 7, 2026

Fixes CLIENT-4PF. The issue was that: EasyAntiCheat DLL loads during curl_global_init, attempts mutex lock on uninitialized memory (0x0), causing access violation.

  • Moved curl_global_init from the HTTPManager constructor to NGMP_OnlineServicesManager::InitSentry().
  • Ensures libcurl's global state is initialized before any plugins, such as EasyAntiCheat, are loaded.
  • Prevents potential access violations in libcurl's internal mutexes when accessed by plugins before full initialization.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 13977573

Not quite right? Click here to continue debugging with Seer.

@seer-by-sentry seer-by-sentry Bot requested a review from x64-dev May 7, 2026 20:49
@x64-dev x64-dev marked this pull request as ready for review May 7, 2026 20:59
@x64-dev x64-dev merged commit 3466fed into main May 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant